%s LOOPAREA


LOOPMARK ^#[[:space:]]*TARGET[[:space:]]*LOOP

COMMENT #.*$


%%

{LOOPMARK}   {BEGIN LOOPAREA; printf("Entering target loop area!\n");}

<LOOPAREA>{COMMENT}  {/* do nothing */} 

